﻿@*
//***********************************************************************************//
// Autor:  			                							     				*//
//***********************************************************************************//
// Edit()				Acceso ADMINISTRADOR			                			*//
// Vista que permite editar los datos pertenientes a una clase de objeto.           *//
// _________________________________________________________________________________*//
*@

@model SIBI.Models.ClaseObjeto

@{
    ViewBag.Title = "Editar";
}

<h2>Editar</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>ClaseObjeto</legend>

        @Html.HiddenFor(model => model.ClaseObjetoId)

        <div class="editor-label">
            Nombre (*)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.cnom)
            @Html.ValidationMessageFor(model => model.cnom)
        </div>

        <p>
            <input type="submit" value="Salvar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Menú Anterior", "SearchIndex")
</div>
